package com.taku.service.impl;

import com.taku.dao.UserDao;
import com.taku.pojo.User;
import com.taku.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: taku
 * @CreateTime: 2020-05-18 12:36
 * @Description:
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;
    @Override
    public List<User> findAll() {
        return userDao.findAll();
    }
}
